#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int my_strlen(char* p)
{
	int count = 0;
	if (*p != NULL)
	{
		while (*p != '\0')
		{
			count++;
			p++;
		}
	}
	return count;
}

int main()
{
	char ch[80] = { '0' };
	gets(ch);
	int len = my_strlen(ch);
	printf("%d", len);
	return 0;
}